﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Server.Models
{
    /// <summary>
    /// 商品模型
    /// </summary>
    public class CommodityModel
    {
        public int id { get; set; }
        /// <summary>
        /// 关联用户ID
        /// </summary>
        public int uid { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string CName { get; set; }
        /// <summary>
        /// 上级编码
        /// </summary>
        public string ParentCode { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 简码
        /// </summary>
        public string SimpCode { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Models { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 税收分类编码
        /// </summary>
        public string TaxCode { get; set; }
        /// <summary>
        /// 优惠政策 0否1是
        /// </summary>
        public int Discount { get; set; }
        /// <summary>
        /// 税目
        /// </summary>
        public string TaxItem { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public string Tax { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 含税标志 0否1是
        /// </summary>
        public int TaxMark { get; set; }
        /// <summary>
        /// 税收分类名称
        /// </summary>
        public string TaxName { get; set; }
        /// <summary>
        /// 优惠政策类型
        /// </summary>
        public string DiscountCate { get; set; }
    }
}
